#include <string>
#include <iostream>
#include <fstream>
using std::string;

int alphabet(char letter)
{
	string lletters="abcdefghijklmnopqrstuvwxyz";
	string uletters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";	
	int loop;
	for (loop = 0; loop<26; loop ++)	
		if (letter == lletters[loop])
		{
			return loop;	
		}
		else if (letter == uletters[loop])
		{
			return loop;
		}
}
string getmessage(){
	string line;
	getline(std::cin, line);
	if (line.size() == 0){
		std::cout << "The message is blank!" << std::endl;
		return 0;
	}
	return line;
}

int rot(int shift, int original){
	if (original + shift > 26){
		return original + shift - 26;
	}
	else if (original + shift == 26){
		return 0;
	}
	else{
		return original + shift;
	}
}

char numtostring(int number)
{
	string lletters="abcdefghijklmnopqrstuvwxyz";
	return lletters[number];
}

int main()
{
	string answer;
	string word= getmessage();
	int looper;
	for (looper=0; looper < word.size(); looper++)
		answer.push_back(numtostring(rot(13,alphabet(word[looper]))));
	std::cout << answer << std::endl;
	return 0;
}